<!-- HTML header for doxygen 1.8.9.1-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ROSS: core/tw-setup.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <a href="https://github.com/ROSS-org/ROSS">
   <div id="projectname">ROSS
   </div>
   </a>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_af18cf245e3394ab3b436135935cfd6e.html">core</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#define-members">Macros</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">tw-setup.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>tw_define_lps is defined here!  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &lt;<a class="el" href="ross_8h_source.html">ross.h</a>&gt;</code><br/>
<code>#include &quot;<a class="el" href="lz4_8h_source.html">lz4.h</a>&quot;</code><br/>
<code>#include &lt;sys/stat.h&gt;</code><br/>
</div>
<p><a href="tw-setup_8c_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a2f41060d9641efc71ebefd63bbae1779"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a2f41060d9641efc71ebefd63bbae1779">VERIFY_MAPPING</a>&#160;&#160;&#160;0</td></tr>
<tr class="separator:a2f41060d9641efc71ebefd63bbae1779"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a33b10808894f8c4d429e391810d96e08"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a33b10808894f8c4d429e391810d96e08">setup_pes</a> (void)</td></tr>
<tr class="separator:a33b10808894f8c4d429e391810d96e08"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d395f5590701f5526a161fcb1261b03"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a7d395f5590701f5526a161fcb1261b03">tw_init</a> (int *argc, char ***argv)</td></tr>
<tr class="separator:a7d395f5590701f5526a161fcb1261b03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeb5dbef977462c62de62c5ad5ff6dc2"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#abeb5dbef977462c62de62c5ad5ff6dc2">early_sanity_check</a> (void)</td></tr>
<tr class="separator:abeb5dbef977462c62de62c5ad5ff6dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec955754eb6d560d7bc1454aeaaa516f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#aec955754eb6d560d7bc1454aeaaa516f">map_linear</a> (void)</td></tr>
<tr class="separator:aec955754eb6d560d7bc1454aeaaa516f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab70815e9b532e3d9a85c0a3366477def"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#ab70815e9b532e3d9a85c0a3366477def">map_round_robin</a> (void)</td></tr>
<tr class="separator:ab70815e9b532e3d9a85c0a3366477def"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae29dd6eba29314361ef334f6bf028210"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#ae29dd6eba29314361ef334f6bf028210">tw_define_lps</a> (<a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> nlp, size_t msg_sz)</td></tr>
<tr class="separator:ae29dd6eba29314361ef334f6bf028210"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84acee4f148fbd5a3ec9735cb877c12d"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a84acee4f148fbd5a3ec9735cb877c12d">late_sanity_check</a> (void)</td></tr>
<tr class="separator:a84acee4f148fbd5a3ec9735cb877c12d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6dbc4bba03285bb1b8a8a5464f0375ea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea">tw_run</a> (void)</td></tr>
<tr class="separator:a6dbc4bba03285bb1b8a8a5464f0375ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd06dc2372c54c089852984132991b4e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#acd06dc2372c54c089852984132991b4e">tw_end</a> (void)</td></tr>
<tr class="separator:acd06dc2372c54c089852984132991b4e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83b28224a6806fcc16545a6aa8ea6ad3"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a83b28224a6806fcc16545a6aa8ea6ad3">tw_delta_alloc</a> (<a class="el" href="structtw__pe.html">tw_pe</a> *<a class="el" href="avl__tree_8c.html#ac4c639748d4d5a271d6c54a18f614605">pe</a>)</td></tr>
<tr class="separator:a83b28224a6806fcc16545a6aa8ea6ad3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dda8286172a4137c4c26649859aa61c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a2dda8286172a4137c4c26649859aa61c">map_onetype</a> (<a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> gid)</td></tr>
<tr class="separator:a2dda8286172a4137c4c26649859aa61c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:ad7c514cd29ed14a2698dc3f1c3a0203b"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#ad7c514cd29ed14a2698dc3f1c3a0203b">nkp_per_pe</a> = 16</td></tr>
<tr class="separator:ad7c514cd29ed14a2698dc3f1c3a0203b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a67a33e9fdd9f680a1790fece8b07699a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a67a33e9fdd9f680a1790fece8b07699a">init_start</a> = 0</td></tr>
<tr class="separator:a67a33e9fdd9f680a1790fece8b07699a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a475f025c5a2abfaf6e0963ce5360477c"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="structtw__optdef.html">tw_optdef</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="tw-setup_8c.html#a475f025c5a2abfaf6e0963ce5360477c">kernel_options</a> []</td></tr>
<tr class="separator:a475f025c5a2abfaf6e0963ce5360477c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a2f41060d9641efc71ebefd63bbae1779"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define VERIFY_MAPPING&#160;&#160;&#160;0</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00010">10</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="abeb5dbef977462c62de62c5ad5ff6dc2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void early_sanity_check </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00122">122</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-global_8c_source.html#l00025">g_tw_nkp</a>, <a class="el" href="ross-global_8c_source.html#l00023">g_tw_nlp</a>, <a class="el" href="tw-setup_8c_source.html#l00013">nkp_per_pe</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, and <a class="el" href="tw-util_8c_source.html#l00061">tw_printf()</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00218">tw_define_lps()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_cgraph.png" border="0" usemap="#tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_cgraph" alt=""/></div>
<map name="tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_cgraph" id="tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_cgraph">
<area shape="rect" id="node2" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="191,5,260,32"/><area shape="rect" id="node4" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="189,56,261,83"/><area shape="rect" id="node3" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="310,5,407,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_icgraph.png" border="0" usemap="#tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_icgraph" alt=""/></div>
<map name="tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_icgraph" id="tw-setup_8c_abeb5dbef977462c62de62c5ad5ff6dc2_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#ae29dd6eba29314361ef334f6bf028210" title="tw_define_lps" alt="" coords="190,5,293,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="341,5,392,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a84acee4f148fbd5a3ec9735cb877c12d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void late_sanity_check </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00279">279</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="specialized-lps_8c_source.html#l00012">g_st_analysis_nlp</a>, <a class="el" href="ross-global_8c_source.html#l00026">g_tw_lp</a>, <a class="el" href="ross-global_8c_source.html#l00025">g_tw_nkp</a>, <a class="el" href="ross-global_8c_source.html#l00023">g_tw_nlp</a>, <a class="el" href="ross-types_8h_source.html#l00305">tw_lp::id</a>, <a class="el" href="ross-types_8h_source.html#l00313">tw_lp::kp</a>, <a class="el" href="ross-types_8h_source.html#l00308">tw_lp::pe</a>, <a class="el" href="ross-types_8h_source.html#l00342">tw_kp::pe</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00053">tw_getkp()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, and <a class="el" href="ross-types_8h_source.html#l00316">tw_lp::type</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_cgraph.png" border="0" usemap="#tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_cgraph" alt=""/></div>
<map name="tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_cgraph" id="tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_cgraph">
<area shape="rect" id="node2" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="304,5,373,32"/><area shape="rect" id="node4" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="181,31,256,57"/><area shape="rect" id="node3" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="422,5,519,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_icgraph.png" border="0" usemap="#tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_icgraph" alt=""/></div>
<map name="tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_icgraph" id="tw-setup_8c_a84acee4f148fbd5a3ec9735cb877c12d_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="181,5,243,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="291,5,341,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aec955754eb6d560d7bc1454aeaaa516f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void map_linear </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00135">135</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-global_8c_source.html#l00027">g_tw_kp</a>, <a class="el" href="ross-global_8c_source.html#l00026">g_tw_lp</a>, <a class="el" href="ross-global_8c_source.html#l00024">g_tw_lp_offset</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00025">g_tw_nkp</a>, <a class="el" href="ross-global_8c_source.html#l00023">g_tw_nlp</a>, <a class="el" href="ross-global_8c_source.html#l00075">g_tw_pe</a>, <a class="el" href="ross-types_8h_source.html#l00376">tw_pe::id</a>, <a class="el" href="tw-setup_8c_source.html#l00013">nkp_per_pe</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="tw-kp_8c_source.html#l00004">tw_kp_onpe()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="tw-lp_8c_source.html#l00073">tw_lp_onkp()</a>, and <a class="el" href="tw-lp_8c_source.html#l00057">tw_lp_onpe()</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00218">tw_define_lps()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_cgraph.png" border="0" usemap="#tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_cgraph" alt=""/></div>
<map name="tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_cgraph" id="tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_cgraph">
<area shape="rect" id="node2" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="284,38,353,65"/><area shape="rect" id="node4" href="ross-extern_8h.html#aafb58a114f017b8491090ea372312684" title="tw_kp_onpe" alt="" coords="139,75,231,102"/><area shape="rect" id="node9" href="ross-extern_8h.html#ab779ee7648ae0cf0931fce717b4401b6" title="tw_lp_onkp" alt="" coords="141,25,229,51"/><area shape="rect" id="node10" href="ross-extern_8h.html#af1158541bc133faae0dc87d8c319bec8" title="tw_lp_onpe" alt="" coords="141,126,229,153"/><area shape="rect" id="node3" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="534,63,631,90"/><area shape="rect" id="node5" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="280,114,357,141"/><area shape="rect" id="node6" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="405,139,485,166"/><area shape="rect" id="node8" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="411,89,480,115"/><area shape="rect" id="node7" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="540,139,625,166"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_icgraph.png" border="0" usemap="#tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_icgraph" alt=""/></div>
<map name="tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_icgraph" id="tw-setup_8c_aec955754eb6d560d7bc1454aeaaa516f_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#ae29dd6eba29314361ef334f6bf028210" title="tw_define_lps" alt="" coords="139,5,242,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="291,5,341,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2dda8286172a4137c4c26649859aa61c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a> map_onetype </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a>&#160;</td>
          <td class="paramname"><em>gid</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00538">538</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

</div>
</div>
<a class="anchor" id="ab70815e9b532e3d9a85c0a3366477def"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void map_round_robin </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00189">189</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-global_8c_source.html#l00027">g_tw_kp</a>, <a class="el" href="ross-global_8c_source.html#l00026">g_tw_lp</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00025">g_tw_nkp</a>, <a class="el" href="ross-global_8c_source.html#l00023">g_tw_nlp</a>, <a class="el" href="ross-global_8c_source.html#l00075">g_tw_pe</a>, <a class="el" href="ross-types_8h_source.html#l00376">tw_pe::id</a>, <a class="el" href="avl__tree_8c_source.html#l00011">pe</a>, <a class="el" href="tw-kp_8c_source.html#l00004">tw_kp_onpe()</a>, <a class="el" href="tw-lp_8c_source.html#l00073">tw_lp_onkp()</a>, <a class="el" href="tw-lp_8c_source.html#l00057">tw_lp_onpe()</a>, and <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00218">tw_define_lps()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_cgraph.png" border="0" usemap="#tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_cgraph" alt=""/></div>
<map name="tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_cgraph" id="tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_cgraph">
<area shape="rect" id="node2" href="ross-extern_8h.html#aafb58a114f017b8491090ea372312684" title="tw_kp_onpe" alt="" coords="177,56,269,83"/><area shape="rect" id="node9" href="ross-extern_8h.html#ab779ee7648ae0cf0931fce717b4401b6" title="tw_lp_onkp" alt="" coords="179,157,267,184"/><area shape="rect" id="node10" href="ross-extern_8h.html#af1158541bc133faae0dc87d8c319bec8" title="tw_lp_onpe" alt="" coords="179,107,267,133"/><area shape="rect" id="node11" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="180,208,265,235"/><area shape="rect" id="node3" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="317,56,395,83"/><area shape="rect" id="node8" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="321,107,391,133"/><area shape="rect" id="node4" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="443,5,523,32"/><area shape="rect" id="node6" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="448,56,517,83"/><area shape="rect" id="node5" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="577,5,663,32"/><area shape="rect" id="node7" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="571,81,669,108"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_icgraph.png" border="0" usemap="#tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_icgraph" alt=""/></div>
<map name="tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_icgraph" id="tw-setup_8c_ab70815e9b532e3d9a85c0a3366477def_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#ae29dd6eba29314361ef334f6bf028210" title="tw_define_lps" alt="" coords="177,5,279,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="328,5,379,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a33b10808894f8c4d429e391810d96e08"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="structtw__pe.html">tw_pe</a> * setup_pes </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00448">448</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00384">tw_pe::abort_event</a>, <a class="el" href="buddy_8c_source.html#l00288">create_buddy_table()</a>, <a class="el" href="ross-types_8h_source.html#l00040">CUSTOM</a>, <a class="el" href="ross-types_8h_source.html#l00383">tw_pe::free_q</a>, <a class="el" href="io-mpi_8c_source.html#l00023">g_io_events_buffered_per_rank</a>, <a class="el" href="io-mpi_8c_source.html#l00025">g_io_free_events</a>, <a class="el" href="ross-global_8c_source.html#l00035">g_tw_buddy_alloc</a>, <a class="el" href="ross-global_8c_source.html#l00036">g_tw_buddy_master</a>, <a class="el" href="ross-global_8c_source.html#l00091">g_tw_csv</a>, <a class="el" href="ross-global_8c_source.html#l00076">g_tw_events_per_pe</a>, <a class="el" href="ross-global_8c_source.html#l00078">g_tw_events_per_pe_extra</a>, <a class="el" href="ross-global_8c_source.html#l00080">g_tw_gvt_threshold</a>, <a class="el" href="ross-global_8c_source.html#l00021">g_tw_mapping</a>, <a class="el" href="ross-global_8c_source.html#l00089">g_tw_masternode</a>, <a class="el" href="ross-global_8c_source.html#l00088">g_tw_mynode</a>, <a class="el" href="ross-global_8c_source.html#l00025">g_tw_nkp</a>, <a class="el" href="ross-global_8c_source.html#l00023">g_tw_nlp</a>, <a class="el" href="ross-global_8c_source.html#l00075">g_tw_pe</a>, <a class="el" href="ross-global_8c_source.html#l00068">g_tw_ts_end</a>, <a class="el" href="ross-types_8h_source.html#l00038">LINEAR</a>, <a class="el" href="avl__tree_8c_source.html#l00011">pe</a>, <a class="el" href="ross-types_8h_source.html#l00381">tw_pe::pq</a>, <a class="el" href="ross-types_8h_source.html#l00039">ROUND_ROBIN</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-setup_8c_source.html#l00440">tw_delta_alloc()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="tw-eventq_8h_source.html#l00186">tw_eventq_alloc()</a>, <a class="el" href="tw-eventq_8h_source.html#l00289">tw_eventq_pop()</a>, <a class="el" href="tw-eventq_8h_source.html#l00257">tw_eventq_push()</a>, <a class="el" href="tw-eventq_8h_source.html#l00353">tw_eventq_shift()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="network-mpi_8c_source.html#l00103">tw_nnodes()</a>, and <a class="el" href="splay_8c_source.html#l00054">tw_pq_create()</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a33b10808894f8c4d429e391810d96e08_cgraph.png" border="0" usemap="#tw-setup_8c_a33b10808894f8c4d429e391810d96e08_cgraph" alt=""/></div>
<map name="tw-setup_8c_a33b10808894f8c4d429e391810d96e08_cgraph" id="tw-setup_8c_a33b10808894f8c4d429e391810d96e08_cgraph">
<area shape="rect" id="node2" href="buddy_8c.html#ac7158d51ffbe54dd3e04d6568f90c42c" title="create_buddy_table" alt="" coords="137,5,271,32"/><area shape="rect" id="node8" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="151,56,257,83"/><area shape="rect" id="node9" href="tw-setup_8c.html#a83b28224a6806fcc16545a6aa8ea6ad3" title="tw_delta_alloc" alt="" coords="151,208,257,235"/><area shape="rect" id="node11" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="520,309,589,336"/><area shape="rect" id="node12" href="tw-eventq_8h.html#ac91b37eb84633064fe5d29534631618b" title="tw_eventq_alloc" alt="" coords="146,107,262,133"/><area shape="rect" id="node13" href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df" title="tw_eventq_pop" alt="" coords="149,309,259,336"/><area shape="rect" id="node15" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="145,360,263,387"/><area shape="rect" id="node16" href="tw-eventq_8h.html#aecf7d4bfd567e6356033b8379f5ec3bd" title="tw_eventq_shift" alt="" coords="147,259,261,285"/><area shape="rect" id="node17" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="161,411,247,437"/><area shape="rect" id="node18" href="splay_8c.html#a3e01ce907630af7763047e4d9ba14693" title="tw_pq_create" alt="" coords="154,157,254,184"/><area shape="rect" id="node3" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="355,157,432,184"/><area shape="rect" id="node4" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="515,157,595,184"/><area shape="rect" id="node6" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="520,208,589,235"/><area shape="rect" id="node5" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="649,157,735,184"/><area shape="rect" id="node7" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="643,259,741,285"/><area shape="rect" id="node10" href="lz4_8c.html#a2b09f5ca41ce609bb136d3637beffe04" title="LZ4_compressBound" alt="" coords="321,208,466,235"/><area shape="rect" id="node14" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="331,309,455,336"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a33b10808894f8c4d429e391810d96e08_icgraph.png" border="0" usemap="#tw-setup_8c_a33b10808894f8c4d429e391810d96e08_icgraph" alt=""/></div>
<map name="tw-setup_8c_a33b10808894f8c4d429e391810d96e08_icgraph" id="tw-setup_8c_a33b10808894f8c4d429e391810d96e08_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="136,5,197,32"/><area shape="rect" id="node3" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="245,5,296,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ae29dd6eba29314361ef334f6bf028210"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_define_lps </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ross_8h.html#a911515dff2fb79886a16ed44df5f9d20">tw_lpid</a>&#160;</td>
          <td class="paramname"><em>nlp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">size_t&#160;</td>
          <td class="paramname"><em>msg_sz</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>IMPORTANT: This function sets the value for g_tw_nlp which is a rather important global variable. It is also set in (very few) other places, but mainly just here. </p>

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00218">218</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00040">CUSTOM</a>, <a class="el" href="tw-setup_8c_source.html#l00122">early_sanity_check()</a>, <a class="el" href="specialized-lps_8c_source.html#l00012">g_st_analysis_nlp</a>, <a class="el" href="ross-global_8c_source.html#l00020">g_tw_custom_initial_mapping</a>, <a class="el" href="ross-global_8c_source.html#l00027">g_tw_kp</a>, <a class="el" href="ross-global_8c_source.html#l00026">g_tw_lp</a>, <a class="el" href="ross-global_8c_source.html#l00021">g_tw_mapping</a>, <a class="el" href="ross-global_8c_source.html#l00033">g_tw_msg_sz</a>, <a class="el" href="ross-global_8c_source.html#l00025">g_tw_nkp</a>, <a class="el" href="ross-global_8c_source.html#l00023">g_tw_nlp</a>, <a class="el" href="ross-global_8c_source.html#l00029">g_tw_nRNG_per_lp</a>, <a class="el" href="ross-global_8c_source.html#l00030">g_tw_rng_default</a>, <a class="el" href="ross-global_8c_source.html#l00018">g_tw_synchronization_protocol</a>, <a class="el" href="ross-types_8h_source.html#l00038">LINEAR</a>, <a class="el" href="tw-setup_8c_source.html#l00135">map_linear()</a>, <a class="el" href="tw-setup_8c_source.html#l00189">map_round_robin()</a>, <a class="el" href="tw-setup_8c_source.html#l00013">nkp_per_pe</a>, <a class="el" href="ross-types_8h_source.html#l00031">OPTIMISTIC_DEBUG</a>, <a class="el" href="ross-types_8h_source.html#l00039">ROUND_ROBIN</a>, <a class="el" href="specialized-lps_8c_source.html#l00041">specialized_lp_init_mapping()</a>, <a class="el" href="specialized-lps_8c_source.html#l00018">specialized_lp_setup()</a>, <a class="el" href="st-stats-buffer_8c_source.html#l00016">st_buffer_allocate()</a>, <a class="el" href="tw-util_8c_source.html#l00203">tw_calloc()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, and <a class="el" href="rand-clcg4_8c_source.html#l00320">tw_rand_init_streams()</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00169">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_cgraph.png" border="0" usemap="#tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_cgraph" alt=""/></div>
<map name="tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_cgraph" id="tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_cgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#abeb5dbef977462c62de62c5ad5ff6dc2" title="early_sanity_check" alt="" coords="162,56,297,83"/><area shape="rect" id="node3" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="748,259,817,285"/><area shape="rect" id="node6" href="tw-setup_8c.html#aec955754eb6d560d7bc1454aeaaa516f" title="map_linear" alt="" coords="187,309,272,336"/><area shape="rect" id="node8" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="584,512,661,539"/><area shape="rect" id="node14" href="tw-setup_8c.html#ab70815e9b532e3d9a85c0a3366477def" title="map_round_robin" alt="" coords="169,360,290,387"/><area shape="rect" id="node16" href="specialized-lps_8c.html#aa3965326e96c2b9e5aba87f35ed2a896" title="specialized_lp_init\l_mapping" alt="" coords="165,243,293,285"/><area shape="rect" id="node19" href="specialized-lps_8c.html#a5d9446447f438f438da8795d29bdeee0" title="specialized_lp_setup" alt="" coords="158,563,301,589"/><area shape="rect" id="node21" href="st-instrumentation_8h.html#acc40ff4e443edf9cfd1a2a1f5539a41d" title="st_buffer_allocate" alt="" coords="167,613,292,640"/><area shape="rect" id="node22" href="rand-clcg4_8c.html#a96c2fb54945c414a31ce0512c39622b0" title="tw_rand_init_streams" alt="" coords="353,461,500,488"/><area shape="rect" id="node5" href="ross-extern_8h.html#a9fdd5173071664ba458fbd0d2419713e" title="tw_printf" alt="" coords="391,5,463,32"/><area shape="rect" id="node4" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="873,373,970,400"/><area shape="rect" id="node7" href="ross-extern_8h.html#aafb58a114f017b8491090ea372312684" title="tw_kp_onpe" alt="" coords="381,360,473,387"/><area shape="rect" id="node12" href="ross-extern_8h.html#ab779ee7648ae0cf0931fce717b4401b6" title="tw_lp_onkp" alt="" coords="383,259,471,285"/><area shape="rect" id="node13" href="ross-extern_8h.html#af1158541bc133faae0dc87d8c319bec8" title="tw_lp_onpe" alt="" coords="383,309,471,336"/><area shape="rect" id="node9" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="743,537,823,564"/><area shape="rect" id="node11" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="748,487,817,513"/><area shape="rect" id="node10" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="879,537,964,564"/><area shape="rect" id="node15" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="384,411,469,437"/><area shape="rect" id="node17" href="analysis-lp_8c.html#ab8d22436238dae63d882069cad4d637e" title="st_analysis_lp_settype" alt="" coords="349,157,504,184"/><area shape="rect" id="node18" href="ross-extern_8h.html#a5b2b3253aadb60150d25a882ba8b22e9" title="tw_lp_settype" alt="" coords="571,157,674,184"/><area shape="rect" id="node20" href="st-instrumentation_8h.html#a9c813e13608176ebd85999c935e3c4af" title="st_buffer_init" alt="" coords="378,563,475,589"/><area shape="rect" id="node23" href="rand-clcg4_8c.html#a9179f0148c620729309111ad61a3fa5b" title="tw_rand_initial_seed" alt="" coords="553,461,693,488"/><area shape="rect" id="node24" href="rand-clcg4_8c.html#ab89ab01c93d79746cff9a7ed763b24d3" title="Returns(s*t) MOD M. " alt="" coords="741,436,824,463"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_icgraph.png" border="0" usemap="#tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_icgraph" alt=""/></div>
<map name="tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_icgraph" id="tw-setup_8c_ae29dd6eba29314361ef334f6bf028210_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="157,5,208,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a83b28224a6806fcc16545a6aa8ea6ad3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void tw_delta_alloc </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="structtw__pe.html">tw_pe</a> *&#160;</td>
          <td class="paramname"><em>pe</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>By the time this function gets called, g_tw_delta_sz should be as large as it will ever get. </p>

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00440">440</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00388">tw_pe::delta_buffer</a>, <a class="el" href="ross-global_8c_source.html#l00034">g_tw_delta_sz</a>, <a class="el" href="lz4_8c_source.html#l00372">LZ4_compressBound()</a>, <a class="el" href="tw-util_8c_source.html#l00203">tw_calloc()</a>, and <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00448">setup_pes()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_cgraph.png" border="0" usemap="#tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_cgraph" alt=""/></div>
<map name="tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_cgraph" id="tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_cgraph">
<area shape="rect" id="node2" href="lz4_8c.html#a2b09f5ca41ce609bb136d3637beffe04" title="LZ4_compressBound" alt="" coords="161,5,306,32"/><area shape="rect" id="node3" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="195,56,272,83"/><area shape="rect" id="node4" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="355,31,435,57"/><area shape="rect" id="node6" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="360,81,429,108"/><area shape="rect" id="node5" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="489,31,575,57"/><area shape="rect" id="node7" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="483,81,581,108"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_icgraph.png" border="0" usemap="#tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_icgraph" alt=""/></div>
<map name="tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_icgraph" id="tw-setup_8c_a83b28224a6806fcc16545a6aa8ea6ad3_icgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a33b10808894f8c4d429e391810d96e08" title="setup_pes" alt="" coords="160,5,243,32"/><area shape="rect" id="node3" href="tw-setup_8c.html#a6dbc4bba03285bb1b8a8a5464f0375ea" title="tw_run" alt="" coords="291,5,352,32"/><area shape="rect" id="node4" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="400,5,451,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="acd06dc2372c54c089852984132991b4e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_end </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00420">420</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-global_8c_source.html#l00091">g_tw_csv</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00068">tw_ismaster()</a>, and <a class="el" href="network-mpi_8c_source.html#l00154">tw_net_stop()</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00169">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_acd06dc2372c54c089852984132991b4e_cgraph.png" border="0" usemap="#tw-setup_8c_acd06dc2372c54c089852984132991b4e_cgraph" alt=""/></div>
<map name="tw-setup_8c_acd06dc2372c54c089852984132991b4e_cgraph" id="tw-setup_8c_acd06dc2372c54c089852984132991b4e_cgraph">
<area shape="rect" id="node2" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="117,5,211,32"/><area shape="rect" id="node3" href="network-mpi_8c.html#a753856a718a9881f642523034260d3f9" title="Stops the network library after simulation end. " alt="" coords="117,56,211,83"/><area shape="rect" id="node4" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="259,56,328,83"/><area shape="rect" id="node5" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="377,56,474,83"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_acd06dc2372c54c089852984132991b4e_icgraph.png" border="0" usemap="#tw-setup_8c_acd06dc2372c54c089852984132991b4e_icgraph" alt=""/></div>
<map name="tw-setup_8c_acd06dc2372c54c089852984132991b4e_icgraph" id="tw-setup_8c_acd06dc2372c54c089852984132991b4e_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="117,5,168,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7d395f5590701f5526a161fcb1261b03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_init </td>
          <td>(</td>
          <td class="paramtype">int *&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char ***&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00033">33</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="specialized-lps_8c_source.html#l00011">g_st_use_analysis_lps</a>, <a class="el" href="ross-global_8c_source.html#l00091">g_tw_csv</a>, <a class="el" href="tw-setup_8c_source.html#l00014">init_start</a>, <a class="el" href="io-mpi_8c_source.html#l00012">io_opts</a>, <a class="el" href="config_8h_source.html#l00011">ROSS_VERSION</a>, <a class="el" href="st-instrumentation_8c_source.html#l00046">st_inst_opts()</a>, <a class="el" href="specialized-lps_8c_source.html#l00067">st_special_lp_opts()</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="aarch64_8c_source.html#l00020">tw_clock_setup()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00026">tw_gvt_setup()</a>, <a class="el" href="mpi__allreduce_8c_source.html#l00034">tw_gvt_start()</a>, <a class="el" href="ross-kernel-inline_8h_source.html#l00068">tw_ismaster()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="network-mpi_8c_source.html#l00066">tw_net_init()</a>, <a class="el" href="network-mpi_8c_source.html#l00109">tw_net_start()</a>, <a class="el" href="tw-opts_8c_source.html#l00014">tw_opt_add()</a>, and <a class="el" href="tw-opts_8c_source.html#l00427">tw_opt_parse()</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00169">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_cgraph.png" border="0" usemap="#tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_cgraph" alt=""/></div>
<map name="tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_cgraph" id="tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_cgraph">
<area shape="rect" id="node2" href="st-instrumentation_8c.html#ab95b216a927e7de0666b153bd4b113ea" title="st_inst_opts" alt="" coords="133,536,227,563"/><area shape="rect" id="node3" href="specialized-lps_8c.html#a0e12bafe1e2aa5c21f7544dfc358ecc3" title="st_special_lp_opts" alt="" coords="115,587,245,614"/><area shape="rect" id="node4" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="127,638,233,664"/><area shape="rect" id="node5" href="aarch64_8c.html#ad791d6ac5a640e8a175a13c72aa3d8e3" title="tw_clock_setup" alt="" coords="123,688,237,715"/><area shape="rect" id="node6" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="941,714,1011,740"/><area shape="rect" id="node8" href="mpi__allreduce_8c.html#a5f11084158c441f3119d608cb25027de" title="tw_gvt_setup" alt="" coords="130,1398,230,1424"/><area shape="rect" id="node9" href="mpi__allreduce_8c.html#a0609349515ccf596bffb1efb59ecd2ea" title="tw_gvt_start" alt="" coords="133,1448,227,1475"/><area shape="rect" id="node10" href="ross-kernel-inline_8h.html#a0e8a2538926cdb59af049a899566de6c" title="tw_ismaster" alt="" coords="779,1271,872,1298"/><area shape="rect" id="node11" href="network-mpi_8c.html#a3db61a41bb6a85964e22e5488038b02e" title="Initalize the network library and parse options. " alt="" coords="293,840,379,867"/><area shape="rect" id="node12" href="network-mpi_8c.html#a625a50a6a03701b067693d7dc5ed483b" title="Starts the network library after option parsing. " alt="" coords="133,739,227,766"/><area shape="rect" id="node36" href="tw-opts_8c.html#adb4b8bc6800f3d900747d4adeda4ac92" title="tw_opt_add" alt="" coords="135,967,225,994"/><area shape="rect" id="node38" href="tw-opts_8c.html#a0e72feddf001b8ffcaf47499f7f5d507" title="tw_opt_parse" alt="" coords="130,904,230,931"/><area shape="rect" id="node7" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="1065,536,1162,563"/><area shape="rect" id="node13" href="network-mpi_8c.html#a9b32fd67edec885cbb35137bd4547616" title="Initializes queues used for posted sends and receives. " alt="" coords="309,30,363,56"/><area shape="rect" id="node18" href="network-mpi_8c.html#a90b2df9e7fdef6bca9bd7e3f7ff6a294" title="If there are any openings in the posted_recvs queue, post more Irecvs. " alt="" coords="293,131,379,158"/><area shape="rect" id="node24" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="616,283,701,310"/><area shape="rect" id="node25" href="ross-extern_8h.html#a2a0e6607074d85f80badcf5f5da3547e" title="tw_pe_init" alt="" coords="295,562,377,588"/><area shape="rect" id="node14" href="ross-extern_8h.html#a445b1ed30cd2e8ef1f837e782a339a70" title="tw_calloc" alt="" coords="787,283,864,310"/><area shape="rect" id="node15" href="tw-util_8c.html#a57c62eebb6371a6d0d5ea5043f12f91b" title="pool_alloc" alt="" coords="936,283,1016,310"/><area shape="rect" id="node17" href="tw-util_8c.html#a653cb2b88ee27b886ba5c854d5a0ba5c" title="tw_error" alt="" coords="941,334,1011,360"/><area shape="rect" id="node16" href="tw-util_8c.html#a0611e23c33bb8c31272e79d876b8bcb0" title="my_malloc" alt="" coords="1071,283,1156,310"/><area shape="rect" id="node19" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="439,30,543,56"/><area shape="rect" id="node20" href="ross-inline_8h.html#a91ee3bf5565bdad184cf16590b6b3198" title="tw_event_grab" alt="" coords="437,232,544,259"/><area shape="rect" id="node23" href="mpi__allreduce_8h.html#a7a58c92b0e80a7be5f3a741f75df71f8" title="tw_gvt_inprogress" alt="" coords="427,80,555,107"/><area shape="rect" id="node21" href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df" title="tw_eventq_pop" alt="" coords="603,232,714,259"/><area shape="rect" id="node22" href="tw-eventq_8h.html#a38f6e76712a4c5a6714aafa5ce69c2ca" title="tw_eventq_debug" alt="" coords="763,334,887,360"/><area shape="rect" id="node26" href="hash-quadratic_8c.html#aebe8a594c0fe5a367f194e7ba7e1aa80" title="tw_hash_create" alt="" coords="433,410,548,436"/><area shape="rect" id="node29" href="tw-pe_8c.html#a8cebfe47c04f3a0ed4ffa359c1090c90" title="tw_pe_settype" alt="" coords="437,587,544,614"/><area shape="rect" id="node31" href="ross-random_8c.html#a5600e4cb011d29cc24a2408220d58909" title="tw_rand_init" alt="" coords="445,536,537,563"/><area shape="rect" id="node27" href="hash-quadratic_8c.html#a854762ca94b220319ef1c12485880233" title="is_prime" alt="" coords="790,435,861,462"/><area shape="rect" id="node28" href="hash-quadratic_8c.html#a447eca00439943f68b19052ea527fe93" title="next_prime" alt="" coords="615,435,702,462"/><area shape="rect" id="node30" href="tw-pe_8c.html#a5eb4956a457b78c985923351ecd4b349" title="dummy_pe_f" alt="" coords="610,587,707,614"/><area shape="rect" id="node32" href="rand-clcg4_8c.html#a3c5ea1f9125b9534b62a80dbfa20dafb" title="rng_init" alt="" coords="627,536,691,563"/><area shape="rect" id="node33" href="rand-clcg4_8c.html#af6fe13cfedc4e727feee7b28869e036e" title="clamp_seed" alt="" coords="779,587,871,614"/><area shape="rect" id="node34" href="rand-clcg4_8c.html#ac243c54261ecf17a1b848e9b9a2025a9" title="Find B to run CLCG4 backwards. " alt="" coords="797,486,853,512"/><area shape="rect" id="node35" href="rand-clcg4_8c.html#ab89ab01c93d79746cff9a7ed763b24d3" title="Returns(s*t) MOD M. " alt="" coords="784,536,867,563"/><area shape="rect" id="node37" href="tw-opts_8c.html#a574b07a110ca971f9b11e3ec8e2be4c7" title="is_empty" alt="" coords="299,992,373,1019"/><area shape="rect" id="node39" href="tw-opts_8c.html#a3f91680611ade2426999baee0d9c876c" title="match_opt" alt="" coords="295,942,377,968"/><area shape="rect" id="node40" href="tw-opts_8c.html#a255e7c887f702f6b1fb1e98df987d67d" title="apply_opt" alt="" coords="451,1094,530,1120"/><area shape="rect" id="node42" href="network-mpi_8c.html#a753856a718a9881f642523034260d3f9" title="Stops the network library after simulation end. " alt="" coords="779,967,872,994"/><area shape="rect" id="node41" href="tw-opts_8c.html#a1e0015ee860c22bf7a216494f0b022f1" title="need_argument" alt="" coords="603,1094,714,1120"/><area shape="rect" id="node43" href="tw-opts_8c.html#aef20148be3ae52ac456c42f8217b8a95" title="show_help" alt="" coords="617,1144,701,1171"/><area shape="rect" id="node44" href="ross-extern_8h.html#acbad94a55fd48c019924e3efbfa9b57a" title="tw_warning" alt="" coords="615,1195,703,1222"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_icgraph.png" border="0" usemap="#tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_icgraph" alt=""/></div>
<map name="tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_icgraph" id="tw-setup_8c_a7d395f5590701f5526a161fcb1261b03_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="115,5,165,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6dbc4bba03285bb1b8a8a5464f0375ea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void tw_run </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00339">339</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>References <a class="el" href="ross-types_8h_source.html#l00029">CONSERVATIVE</a>, <a class="el" href="ross-global_8c_source.html#l00018">g_tw_synchronization_protocol</a>, <a class="el" href="ross-types_8h_source.html#l00376">tw_pe::id</a>, <a class="el" href="tw-setup_8c_source.html#l00014">init_start</a>, <a class="el" href="tw-setup_8c_source.html#l00279">late_sanity_check()</a>, <a class="el" href="ross-types_8h_source.html#l00030">OPTIMISTIC</a>, <a class="el" href="ross-types_8h_source.html#l00031">OPTIMISTIC_DEBUG</a>, <a class="el" href="ross-types_8h_source.html#l00032">OPTIMISTIC_REALTIME</a>, <a class="el" href="ross-types_8h_source.html#l00135">tw_statistics::s_init</a>, <a class="el" href="ross-types_8h_source.html#l00028">SEQUENTIAL</a>, <a class="el" href="tw-setup_8c_source.html#l00448">setup_pes()</a>, <a class="el" href="st-instrumentation_8c_source.html#l00051">st_inst_init()</a>, <a class="el" href="ross-types_8h_source.html#l00415">tw_pe::stats</a>, <a class="el" href="aarch64_8h_source.html#l00006">tw_clock_read()</a>, <a class="el" href="tw-util_8c_source.html#l00074">tw_error()</a>, <a class="el" href="ross-extern_8h_source.html#l00164">TW_LOC</a>, <a class="el" href="tw-sched_8c_source.html#l00404">tw_sched_init()</a>, <a class="el" href="tw-sched_8c_source.html#l00514">tw_scheduler_conservative()</a>, <a class="el" href="tw-sched_8c_source.html#l00634">tw_scheduler_optimistic()</a>, <a class="el" href="tw-sched_8c_source.html#l00733">tw_scheduler_optimistic_debug()</a>, <a class="el" href="tw-sched_8c_source.html#l00680">tw_scheduler_optimistic_realtime()</a>, and <a class="el" href="tw-sched_8c_source.html#l00445">tw_scheduler_sequential()</a>.</p>

<p>Referenced by <a class="el" href="phold_8c_source.html#l00169">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_cgraph.png" border="0" usemap="#tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_cgraph" alt=""/></div>
<map name="tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_cgraph" id="tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_cgraph">
<area shape="rect" id="node2" href="tw-setup_8c.html#a84acee4f148fbd5a3ec9735cb877c12d" title="late_sanity_check" alt="" coords="571,284,698,311"/><area shape="rect" id="node3" href="ross-extern_8h.html#a49ed2388aaae26e43280b7909c834aaa" title="tw_error" alt="" coords="944,1095,1013,1121"/><area shape="rect" id="node6" href="tw-setup_8c.html#a33b10808894f8c4d429e391810d96e08" title="setup_pes" alt="" coords="593,183,676,209"/><area shape="rect" id="node8" href="aarch64_8h.html#a450cf25fa5291629087ca4198de55757" title="tw_clock_read" alt="" coords="775,1044,881,1071"/><area shape="rect" id="node16" href="st-instrumentation_8c.html#a2141145e35484c4401c6786406afd224" title="st_inst_init" alt="" coords="163,385,248,412"/><area shape="rect" id="node19" href="ross-extern_8h.html#ae7357a99fcf58867f153cb7ab920b400" title="tw_sched_init" alt="" coords="375,487,478,513"/><area shape="rect" id="node28" href="ross-extern_8h.html#ab3e02a0e976921bd18a11b8b6a00c110" title="tw_scheduler_conservative" alt="" coords="115,1652,295,1679"/><area shape="rect" id="node44" href="ross-extern_8h.html#a1ebf9585a3de4d61c5fc050c7600fcd8" title="tw_scheduler_optimistic" alt="" coords="124,1247,287,1273"/><area shape="rect" id="node48" href="ross-extern_8h.html#ad49988d8dcde406fac7f4a2e11eac17f" title="tw_scheduler_optimistic\l_debug" alt="" coords="345,2286,508,2327"/><area shape="rect" id="node49" href="ross-extern_8h.html#accfa49d85bd68f2c53d4a08cf64ace88" title="tw_scheduler_optimistic\l_realtime" alt="" coords="124,935,287,977"/><area shape="rect" id="node50" href="ross-extern_8h.html#ae19668282cb4aab245e2382eea8f1967" title="tw_scheduler_sequential" alt="" coords="344,2007,509,2033"/><area shape="rect" id="node5" href="ross-kernel-inline_8h.html#a4066dfaca8faa4af256a377d85cea32f" title="tw_getkp" alt="" coords="791,467,865,493"/><area shape="rect" id="node4" href="network-mpi_8c.html#a2e139e8547a091c4c4ea0b445fe8dd1c" title="tw_net_abort" alt="" coords="1062,1095,1159,1121"/><area shape="rect" id="node7" href="buddy_8c.html#ac7158d51ffbe54dd3e04d6568f90c42c" title="create_buddy_table" alt="" coords="761,56,895,83"/><area shape="rect" id="node9" href="tw-setup_8c.html#a83b28224a6806fcc16545a6aa8ea6ad3" title="tw_delta_alloc" alt="" coords="775,107,881,133"/><area shape="rect" id="node10" href="tw-eventq_8h.html#ac91b37eb84633064fe5d29534631618b" title="tw_eventq_alloc" alt="" coords="770,157,886,184"/><area shape="rect" id="node11" href="tw-eventq_8h.html#aa40bc1edebb9f58d87092388cf8dc0df" title="tw_eventq_pop" alt="" coords="773,309,883,336"/><area shape="rect" id="node12" href="tw-eventq_8h.html#a5c324b9c5a53c17e78709fa7eaaa7a1f" title="tw_eventq_push" alt="" coords="769,259,887,285"/><area shape="rect" id="node13" href="tw-eventq_8h.html#aecf7d4bfd567e6356033b8379f5ec3bd" title="tw_eventq_shift" alt="" coords="771,663,885,689"/><area shape="rect" id="node14" href="network-mpi_8c.html#a2818efb70df48e5e29d3dacb3e2de009" title="tw_nnodes" alt="" coords="785,1500,871,1527"/><area shape="rect" id="node15" href="splay_8c.html#a3e01ce907630af7763047e4d9ba14693" title="tw_pq_create" alt="" coords="778,5,878,32"/><area shape="rect" id="node17" href="specialized-lps_8c.html#adc74057148c07b218f3cca2de293a869" title="specialized_lp_run" alt="" coords="362,385,491,412"/><area shape="rect" id="node18" href="st-instrumentation_8h.html#a9c813e13608176ebd85999c935e3c4af" title="st_buffer_init" alt="" coords="378,335,475,361"/><area shape="rect" id="node20" href="io-mpi_8c.html#a2c72f26ee424fa3597838fd69de45cdb" title="io_load_events" alt="" coords="580,233,689,260"/><area shape="rect" id="node22" href="aarch64_8c.html#adb6ac59d7f33538cc7ebe7d9e47ec255" title="tw_clock_init" alt="" coords="585,436,684,463"/><area shape="rect" id="node23" href="ross-extern_8h.html#a4f628dcfcaa889cd15a8142af1b1260e" title="tw_init_kps" alt="" coords="591,335,679,361"/><area shape="rect" id="node24" href="ross-extern_8h.html#ac66e6455900b508bb4e4e0cef4df8061" title="tw_init_lps" alt="" coords="593,487,677,513"/><area shape="rect" id="node25" href="network-mpi_8c.html#ad2d1779a485bde77b7b62876a9ff6e25" title="tw_net_barrier" alt="" coords="583,740,687,767"/><area shape="rect" id="node26" href="network-mpi_8c.html#a27a1957e366f9b52848477702234fc08" title="starts service_queues() to poll network " alt="" coords="588,943,681,969"/><area shape="rect" id="node27" href="ross-extern_8h.html#aab34bd3abe37a02c5a785eba6161d498" title="tw_pre_run_lps" alt="" coords="773,524,883,551"/><area shape="rect" id="node21" href="ross-extern_8h.html#a3def69f148eaba619b26c898c90687b8" title="tw_event_data" alt="" coords="775,2032,881,2059"/><area shape="rect" id="node29" href="tw-sched_8c.html#a7a172f12578f34ccf37ace58ca06eac6" title="Reset the event bitfield prior to entering the event handler post&#45;reverse &#45; reset the bitfield so tha..." alt="" coords="583,2209,686,2236"/><area shape="rect" id="node30" href="st-instrumentation_8h.html#a6ae8d8f288de23fd6a4d9d3c8a7b296a" title="st_collect_engine_data" alt="" coords="557,1044,712,1071"/><area shape="rect" id="node31" href="st-event-trace_8c.html#a186f7512fd723e604b501b3ba256178b" title="st_collect_event_data" alt="" coords="560,1956,709,1983"/><area shape="rect" id="node32" href="st-instrumentation_8h.html#a973d9b1e0d445f4df76b97d8f829798d" title="st_collect_model_data" alt="" coords="559,1500,711,1527"/><area shape="rect" id="node33" href="st-instrumentation_8c.html#a1dad744b7748e0ae7eee6b11577e744b" title="st_inst_finalize" alt="" coords="372,892,481,919"/><area shape="rect" id="node34" href="ross-extern_8h.html#a5215643013906a13f0e2febadd0b0473" title="tw_event_free" alt="" coords="583,1905,687,1932"/><area shape="rect" id="node35" href="mpi__allreduce_8c.html#a483098cf3c7db0378e825db007a3a300" title="tw_gvt_force_update" alt="" coords="563,1703,706,1729"/><area shape="rect" id="node36" href="mpi__allreduce_8c.html#ab480140292034a18580653906c0663ed" title="tw_gvt_step1" alt="" coords="377,1500,477,1527"/><area shape="rect" id="node37" href="splay_8c.html#a2e74d926ed307c34933ddf19e251e68b" title="tw_pq_minimum" alt="" coords="576,1601,693,1628"/><area shape="rect" id="node38" href="mpi__allreduce_8c.html#aef8c69bf46e491eb7fe51c088857d60f" title="tw_gvt_step2" alt="" coords="377,1247,477,1273"/><area shape="rect" id="node39" href="splay_8c.html#a565d3c6a9a77554cd31df48547edf4ad" title="tw_pq_dequeue" alt="" coords="578,2260,691,2287"/><area shape="rect" id="node40" href="tw-sched_8c.html#a0bb0520414480154343b267735636433" title="tw_sched_event_q" alt="" coords="361,1297,492,1324"/><area shape="rect" id="node42" href="ross-extern_8h.html#a0782b6be50ca83cb7f43782cde7d9ad4" title="tw_stats" alt="" coords="599,1652,671,1679"/><area shape="rect" id="node43" href="ross-extern_8h.html#abb6fbfaf29e819dca59955bfda375992" title="tw_wall_now" alt="" coords="586,2513,683,2540"/><area shape="rect" id="node41" href="ross-extern_8h.html#a5b88c07fbc4f7810bdc676306013b513" title="tw_kp_rollback_to" alt="" coords="571,1145,698,1172"/><area shape="rect" id="node45" href="tw-sched_8c.html#ad27b3474d878cedfe1a1f993093d8715" title="tw_sched_batch" alt="" coords="368,1855,485,1881"/><area shape="rect" id="node47" href="tw-sched_8c.html#abe0eb975865f0cde7f2c2e3129bd18d7" title="tw_sched_cancel_q" alt="" coords="358,993,495,1020"/><area shape="rect" id="node46" href="tw-eventq_8h.html#a6be6332230ef4fb5c8a3f4a0412493a8" title="tw_eventq_unshift" alt="" coords="571,2311,699,2337"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_icgraph.png" border="0" usemap="#tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_icgraph" alt=""/></div>
<map name="tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_icgraph" id="tw-setup_8c_a6dbc4bba03285bb1b8a8a5464f0375ea_icgraph">
<area shape="rect" id="node2" href="phold_8c.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="115,5,165,32"/></map>
</div>
</p>

</div>
</div>
<h2 class="groupheader">Variable Documentation</h2>
<a class="anchor" id="a67a33e9fdd9f680a1790fece8b07699a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="aarch64_8h.html#abcd6b97b84bebf1f961f85cd24b56c60">tw_clock</a> init_start = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00014">14</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00033">tw_init()</a>, and <a class="el" href="tw-setup_8c_source.html#l00339">tw_run()</a>.</p>

</div>
</div>
<a class="anchor" id="a475f025c5a2abfaf6e0963ce5360477c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="structtw__optdef.html">tw_optdef</a> kernel_options[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<b>Initial value:</b><div class="fragment"><div class="line">= {</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aac227308b1e5c09018df75e2103bfcfa">TWOPTTYPE_GROUP</a>, NULL, ( <span class="stringliteral">&quot;ROSS Kernel&quot;</span> ), NULL },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, ( <span class="stringliteral">&quot;synch&quot;</span> ), ( <span class="stringliteral">&quot;Sychronization Protocol: SEQUENTIAL=1, CONSERVATIVE=2, OPTIMISTIC=3, OPTIMISTIC_DEBUG=4, OPTIMISTIC_REALTIME=5&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, ( <span class="stringliteral">&quot;nkp&quot;</span> ), ( <span class="stringliteral">&quot;number of kernel processes (KPs) per pe&quot;</span> ), &amp;( <a class="code" href="tw-setup_8c.html#ad7c514cd29ed14a2698dc3f1c3a0203b">nkp_per_pe</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea">TWOPTTYPE_DOUBLE</a>, ( <span class="stringliteral">&quot;end&quot;</span> ), ( <span class="stringliteral">&quot;simulation end timestamp&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#aedd6d883bb5b01f0d5c1121f48b0477e">g_tw_ts_end</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, ( <span class="stringliteral">&quot;batch&quot;</span> ), ( <span class="stringliteral">&quot;messages per scheduler block&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#ad2b9212f634d736cfcdf03b9a3b3a818">g_tw_mblock</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, ( <span class="stringliteral">&quot;extramem&quot;</span> ), ( <span class="stringliteral">&quot;Number of extra events allocated per PE.&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#a17c791c2b25a6f00f8244f7f1244b9ca">g_tw_events_per_pe_extra</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, ( <span class="stringliteral">&quot;buddy-size&quot;</span> ), ( <span class="stringliteral">&quot;delta encoding buddy system allocation (2^X)&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#a86d0fe2c4d7b1be618d6cce801f085ee">g_tw_buddy_alloc</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, ( <span class="stringliteral">&quot;lz4-knob&quot;</span> ), ( <span class="stringliteral">&quot;LZ4 acceleration factor (higher = faster)&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#a44046c72a5bace26ffd7c10ac06ba5f3">g_tw_lz4_knob</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea">TWOPTTYPE_DOUBLE</a>, ( <span class="stringliteral">&quot;cons-lookahead&quot;</span> ), ( <span class="stringliteral">&quot;Set g_tw_lookahead&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#ae6211f101eb9694fec8f350c874ba6cd">g_tw_lookahead</a> ) },</div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a35bd19b8bf2d3e379304716240426e50">TWOPTTYPE_ULONGLONG</a>, ( <span class="stringliteral">&quot;max-opt-lookahead&quot;</span> ), ( <span class="stringliteral">&quot;Optimistic simulation: maximum lookahead allowed in virtual clock time&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#aeb7d56717189f79b0199a840b0ae6629">g_tw_max_opt_lookahead</a> ) },</div>
<div class="line"></div>
<div class="line">    { <a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a>, ( <span class="stringliteral">&quot;avl-size&quot;</span> ), ( <span class="stringliteral">&quot;AVL Tree contains 2^avl-size nodes&quot;</span> ), &amp;( <a class="code" href="ross-extern_8h.html#acd6509dd1d3e2ea0298ef3e2ecaf0ef0">g_tw_avl_node_count</a> ) },</div>
<div class="line"></div>
<div class="line">    { (<a class="code" href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a>)0, NULL, NULL, NULL }</div>
<div class="line">}</div>
<div class="ttc" id="ross-extern_8h_html_ae22db4d4e754eff64535402f5fa60a5f"><div class="ttname"><a href="ross-extern_8h.html#ae22db4d4e754eff64535402f5fa60a5f">g_tw_synchronization_protocol</a></div><div class="ttdeci">tw_synch g_tw_synchronization_protocol</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00018">ross-global.c:18</a></div></div>
<div class="ttc" id="ross-extern_8h_html_aedd6d883bb5b01f0d5c1121f48b0477e"><div class="ttname"><a href="ross-extern_8h.html#aedd6d883bb5b01f0d5c1121f48b0477e">g_tw_ts_end</a></div><div class="ttdeci">double g_tw_ts_end</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00068">ross-global.c:68</a></div></div>
<div class="ttc" id="tw-opts_8h_html_ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f"><div class="ttname"><a href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aa00c888adb9c735daf039e16a7431d8f">TWOPTTYPE_UINT</a></div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00009">tw-opts.h:9</a></div></div>
<div class="ttc" id="tw-setup_8c_html_ad7c514cd29ed14a2698dc3f1c3a0203b"><div class="ttname"><a href="tw-setup_8c.html#ad7c514cd29ed14a2698dc3f1c3a0203b">nkp_per_pe</a></div><div class="ttdeci">unsigned int nkp_per_pe</div><div class="ttdef"><b>Definition:</b> <a href="tw-setup_8c_source.html#l00013">tw-setup.c:13</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a17c791c2b25a6f00f8244f7f1244b9ca"><div class="ttname"><a href="ross-extern_8h.html#a17c791c2b25a6f00f8244f7f1244b9ca">g_tw_events_per_pe_extra</a></div><div class="ttdeci">unsigned int g_tw_events_per_pe_extra</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00078">ross-global.c:78</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ad2b9212f634d736cfcdf03b9a3b3a818"><div class="ttname"><a href="ross-extern_8h.html#ad2b9212f634d736cfcdf03b9a3b3a818">g_tw_mblock</a></div><div class="ttdeci">unsigned int g_tw_mblock</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00062">ross-global.c:62</a></div></div>
<div class="ttc" id="tw-opts_8h_html_ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea"><div class="ttname"><a href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a2967d7e79c9eff0de1b86a39385123ea">TWOPTTYPE_DOUBLE</a></div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00011">tw-opts.h:11</a></div></div>
<div class="ttc" id="ross-extern_8h_html_acd6509dd1d3e2ea0298ef3e2ecaf0ef0"><div class="ttname"><a href="ross-extern_8h.html#acd6509dd1d3e2ea0298ef3e2ecaf0ef0">g_tw_avl_node_count</a></div><div class="ttdeci">uint32_t g_tw_avl_node_count</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00037">ross-global.c:37</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a86d0fe2c4d7b1be618d6cce801f085ee"><div class="ttname"><a href="ross-extern_8h.html#a86d0fe2c4d7b1be618d6cce801f085ee">g_tw_buddy_alloc</a></div><div class="ttdeci">uint32_t g_tw_buddy_alloc</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00035">ross-global.c:35</a></div></div>
<div class="ttc" id="ross-extern_8h_html_aeb7d56717189f79b0199a840b0ae6629"><div class="ttname"><a href="ross-extern_8h.html#aeb7d56717189f79b0199a840b0ae6629">g_tw_max_opt_lookahead</a></div><div class="ttdeci">unsigned long long g_tw_max_opt_lookahead</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00064">ross-global.c:64</a></div></div>
<div class="ttc" id="tw-opts_8h_html_ac99387e9ab28cb8eb9f101eaac0bdcd0a35bd19b8bf2d3e379304716240426e50"><div class="ttname"><a href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0a35bd19b8bf2d3e379304716240426e50">TWOPTTYPE_ULONGLONG</a></div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00008">tw-opts.h:8</a></div></div>
<div class="ttc" id="tw-opts_8h_html_ac99387e9ab28cb8eb9f101eaac0bdcd0aac227308b1e5c09018df75e2103bfcfa"><div class="ttname"><a href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0aac227308b1e5c09018df75e2103bfcfa">TWOPTTYPE_GROUP</a></div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00006">tw-opts.h:6</a></div></div>
<div class="ttc" id="ross-extern_8h_html_a44046c72a5bace26ffd7c10ac06ba5f3"><div class="ttname"><a href="ross-extern_8h.html#a44046c72a5bace26ffd7c10ac06ba5f3">g_tw_lz4_knob</a></div><div class="ttdeci">unsigned int g_tw_lz4_knob</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00041">ross-global.c:41</a></div></div>
<div class="ttc" id="ross-extern_8h_html_ae6211f101eb9694fec8f350c874ba6cd"><div class="ttname"><a href="ross-extern_8h.html#ae6211f101eb9694fec8f350c874ba6cd">g_tw_lookahead</a></div><div class="ttdeci">double g_tw_lookahead</div><div class="ttdef"><b>Definition:</b> <a href="ross-global_8c_source.html#l00049">ross-global.c:49</a></div></div>
<div class="ttc" id="tw-opts_8h_html_ac99387e9ab28cb8eb9f101eaac0bdcd0"><div class="ttname"><a href="tw-opts_8h.html#ac99387e9ab28cb8eb9f101eaac0bdcd0">tw_opttype</a></div><div class="ttdeci">tw_opttype</div><div class="ttdef"><b>Definition:</b> <a href="tw-opts_8h_source.html#l00004">tw-opts.h:4</a></div></div>
</div><!-- fragment -->
<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00016">16</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

</div>
</div>
<a class="anchor" id="ad7c514cd29ed14a2698dc3f1c3a0203b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int nkp_per_pe = 16</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="tw-setup_8c_source.html#l00013">13</a> of file <a class="el" href="tw-setup_8c_source.html">tw-setup.c</a>.</p>

<p>Referenced by <a class="el" href="tw-setup_8c_source.html#l00122">early_sanity_check()</a>, <a class="el" href="tw-setup_8c_source.html#l00135">map_linear()</a>, and <a class="el" href="tw-setup_8c_source.html#l00218">tw_define_lps()</a>.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>
